/*
* 统一管理首页home的网络请求
* */

import {request} from "./request";
//请求商品分类
export function getClassifyData(){
  return request({
    url: "/network/jingdong_classify.json"
    // url: "https://xiaowangzi.club"
    // ul: "/api/platform/getTbCategory?apkey=4b149729-5cf0-1d6a-6fab-55ebc984b971&page=1"
  });
}

//请求首页推荐商品
export function getGoods(){
  return request({
    url: "/network/jingdong_goods1.json"
  });
}

//请求首页流行商品
export function getGoodsPopular(){
  return request({
    url: "/network/jingdong_goods2.json"
  });
}
//请求首页精选商品
export function getGoodsSelected(){
  return request({
    url: "/network/jingdong_goods3.json"
  });
}
export function getGoods4(){
  return request({
    url: "/network/jingdong_goods4.json"
  });
}
export function getGoods5(){
  return request({
    url: "/network/jingdong_goods5.json"
  });
}
export function getGoods6(){
  return request({
    url: "/network/jingdong_goods6.json"
  });
}
export function getHomeList(){
  return request({
    url: "/network/home_list.json"
  });
}
